package cccsns;

import java.util.Date;

public class Diary {
	private Long id;
	private SNSUser author;
	private String subject;
	private String body;
	private Date publishedDate;
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getSubject() {
		return subject;
	}
	public void setSubject(String subject) {
		this.subject = subject;
	}
	public String getBody() {
		return body;
	}
	public void setBody(String body) {
		this.body = body;
	}
	public SNSUser getAuthor() {
		return author;
	}
	public void setAuthor(SNSUser user) {
		this.author = user;
	}
	public Date getPublishedDate() {
		return publishedDate;
	}
	public void setPublishedDate(Date publishedDate) {
		this.publishedDate = publishedDate;
	}
}
